package edu.gyc.hishiro.shiro.utils;

import org.apache.shiro.crypto.hash.SimpleHash;

public class PasswordUtil {
    public static void main(String[] args) {
        String hashAlgorithmName = "MD5";
        Object pass = "123456";
        Object salt= "xrsucklsdick";
        int n=3;
        Object result = new SimpleHash(hashAlgorithmName, pass, salt, n);
        System.out.println(pass);
        System.out.println(result);
    }
}
